package ooday02;

public abstract class Animals {
    String name;
    String color;
    int age;
    Animals(){}
    Animals(String name, String color, int age) {
        this.name = name;
        this.color = color;
        this.age = age;
    }
    abstract void eat();
    void drink()
    {
        System.out.println(name+"Drinking...");
    }
}
